/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uno;

/**
 *
 * @author abelitro
 */
class TestA {

    public void start() {
        System.out.println("TestA");
    }
}

public class TestB extends TestA {

    public void start() {
        System.out.println("TestB");
    }

    public static void main(String[] args) {
        ((TestA) new TestB()).start();
        try{
        args = null;
        args[0] = "test";
        System.out.println(args[0]);
        }catch(Exception e){
            System.out.println("Exception ");}
//        }catch(NullPointerException npe){
//            System.out.println("Null");
//        }    
    }
}
